package com.flurry.android.caching;

import android.content.Context;
import com.flurry.android.AppCloudResponseHandler;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

public class CachingManager
{
  private ExecutorService eD;
  private n gs = new n();
  private l gt;

  public CachingManager(Context paramContext)
  {
    this.gt = new l(paramContext);
    this.eD = Executors.newSingleThreadExecutor();
  }

  public void decrementOperation(ObjectOperationData paramObjectOperationData, AppCloudResponseHandler paramAppCloudResponseHandler)
  {
    paramObjectOperationData.setOperationType(32);
    this.gs.j(paramObjectOperationData);
    this.eD.submit(new a(this, paramAppCloudResponseHandler));
  }

  public void deleteOperation(ObjectOperationData paramObjectOperationData, AppCloudResponseHandler paramAppCloudResponseHandler)
  {
    paramObjectOperationData.setOperationType(4);
    this.gs.j(paramObjectOperationData);
    this.eD.submit(new a(this, paramAppCloudResponseHandler));
  }

  public void getOperation(ObjectOperationData paramObjectOperationData, AppCloudResponseHandler paramAppCloudResponseHandler)
  {
    paramObjectOperationData.setOperationType(2);
    this.gs.j(paramObjectOperationData);
    this.eD.submit(new a(this, paramAppCloudResponseHandler));
  }

  public void incrementOperation(ObjectOperationData paramObjectOperationData, AppCloudResponseHandler paramAppCloudResponseHandler)
  {
    paramObjectOperationData.setOperationType(16);
    this.gs.j(paramObjectOperationData);
    this.eD.submit(new a(this, paramAppCloudResponseHandler));
  }

  public void saveOrCreateOperation(ObjectOperationData paramObjectOperationData, AppCloudResponseHandler paramAppCloudResponseHandler)
  {
    paramObjectOperationData.setOperationType(1);
    this.gs.j(paramObjectOperationData);
    this.eD.submit(new a(this, paramAppCloudResponseHandler));
  }

  public void searchOperation(ObjectOperationData paramObjectOperationData, AppCloudResponseHandler paramAppCloudResponseHandler)
  {
    paramObjectOperationData.setOperationType(8);
    this.gs.j(paramObjectOperationData);
    this.eD.submit(new a(this, paramAppCloudResponseHandler));
  }
}

/* Location:           E:\android\Toy Defense 2_dex2jar.jar
 * Qualified Name:     com.flurry.android.caching.CachingManager
 * JD-Core Version:    0.6.2
 */